package com.telrob.antlr.type;

//条件判断
public class IfBlockType extends XnType {
	private XnType condition;
	private XnType body;
	
	public IfBlockType(XnType condition, XnType body) {
		super();
		this.condition = condition;
		this.body = body;
	}

	public XnType getCondition() {
		return condition;
	}

	public void setCondition(XnType condition) {
		this.condition = condition;
	}

	public XnType getBody() {
		return body;
	}

	public void setBody(XnType body) {
		this.body = body;
	}

	public String toString() {
		return "IfBlockType [condition=" + condition + ", body=" + body + "]";
	}
	
}
